package com.afs.electronicforensics.entity;

/**
 * @author gy
 * @description 封装返回数据类
 * @date 2021/2/20
 */
public class Result {
    public static final User USER_ROOT = new User(); //保存登录信息
    int code;//业务状态码  1-true 0-false  -1 - 其他

    String status;//业务状态  Success Error

    String msg;//服务信息

    Object data;//业务数据

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

}
